<template>
	<topHead :showBack="true" :title="'我的头部'" :headFixed="true" />
	<image class="maple" :src="maple" mode="aspectFit|aspectFill|widthFix" />
	<view class="content">
		<view class="my_bg">
			<img src="" class="head_img" />
			<view class="name">
				<input type="text" placeholder="请输入昵称" :value="name" @input="name = $event.target.value" />
			</view>
			<view class="rectangle">
				<view class="search">
					<view class="search_text">报名查询</view>
				</view>
				<view class="search">
					<view class="search_text">晋级查询</view>
				</view>
			</view>
			<view class="rectangle">
				<view class="search">
					<view class="search_text">我的成就</view>
				</view>
			</view>
		</view>
		  
	</view>
	  
	
</template>

<script setup>
import topHead from '../components/topHead.vue';
import maple from '@/static/images/maple.png'
import { ref } from 'vue';
const name = ref('没有腹肌不改名')
</script>

<style lang="scss" scoped>
.maple {
    position: fixed;
	right: -5rpx;
	top: -5px;
	width: 320rpx;
	height: 460rpx;
}
.content {
	width: 100vw;
	height: 100vh;
	background: linear-gradient( 180deg, #E0F7FF 0%, #F4F7F8 100%);
	overflow: hidden;
	.my_bg {
		width: 630rpx;
		height: 853rpx;
		margin: 0 auto;
		margin-top: 190rpx;
		background: url('@/static/images/myBg.png') no-repeat;
		background-size: 100% 100%;
		padding: 106rpx 34rpx;
		.head_img {
			width: 174rpx;
			height: 174rpx;
			border-radius: 50%;
			margin: 0 auto;
			background: url('@/static/images/maple.png') no-repeat;
			background-size: 100% 100%;
			border: 1px solid #ccc;
		}
		.name {
			height: 50rpx;
			font-family: PingFangSC, PingFang SC;
			font-weight: 600;
			font-size: 36rpx;
			color: #000000;
			line-height: 50rpx;
			text-align: left;
			font-style: normal;
			margin: 12rpx 0 60rpx;
		}
		.rectangle {
			width: 100%;
			background: #F9F9F9;
			border-radius: 24rpx;
			margin-bottom: 20rpx;
			.search {
			    width: 100%;
				height: 160rpx;
				background: #F9F9F9;
				position: relative;
				.search_text {
					margin-left: 40rpx;
					width: 112rpx;
					line-height: 160rpx;
					font-family: PingFangSC, PingFang SC;
					font-weight: 600;
					font-size: 28rpx;
					color: #000000;
				}
			}
			.search::after {
				content: '';
				display: block;
				width: 35rpx;
				height: 35rpx;
				background: url('@/static/images/rightArrow.png') no-repeat;
				background-size: 100% 100%;
				position: absolute;
				right: 40rpx;
				top: 62rpx;
			}
		}
	}
}

</style>